/*
 * Copyright (c) 2017, Li Bo/Alex Lee All rights reserved.
 * 
 * http://www.libo4dream.club/
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 
package com.hyts.socketio.config;

/**
 * @ClassName: BaseServerConfig
 * @Description: 基础服务配置参数静态操作类
 * @author: LiBo/Alex Lee
 * @date: 2017年10月7日 下午1:08:03
 * @email: alexlibochn@china-pui.com.cn/alex.link@foxmail.com
 */
public final class BaseServerConfig {

	/**
	 * @fieldName: DEFAULT_HOST_NAME
	 * @fieldType: String
	 * @Description: 主机名称
	 */
	public static final String DEFAULT_HOST_NAME = "127.0.0.1";
	
	/**
	 * @fieldName: DEFAULT_PORT_VALUE
	 * @fieldType: String
	 * @Description: 端口数值
	 */
	public static final Integer DEFAULT_PORT_VALUE = 9092;
	
	/**
	 * @fieldName: DEFAULT_CONTEXT_PATH
	 * @fieldType: String
	 * @Description: contextPath名称
	 */
	public static final String DEFAULT_CONTEXT_PATH = "/socketio";
	
	/**
	 * @fieldName: DEFAULT_BOSS_THREAD_NUM
	 * @fieldType: Integer
	 * @Description: 基础默认BOSS 线程数
	 */
	public static final Integer DEFAULT_BOSS_THREAD_NUM = 10;
	
	/**
	 * @fieldName: DEFAULT_WORK_THREAD_NUM
	 * @fieldType: Integer
	 * @Description: 基础默认WORK 线程数
	 */
	public static final Integer DEFAULT_WORK_THREAD_NUM = 10;
	
	/**
	 * @fieldName: DEFAULT_SHOW_VERSION_FLAG
	 * @fieldType: Boolean
	 * @Description: 是否显示版本头部
	 */
	public static final Boolean DEFAULT_SHOW_VERSION_ADD_FLAG = true;
	
	/**
	 * @fieldName: DEFAULT_EVENT_LISTENER_NAME
	 * @fieldType: String
	 * @Description: 
	 */
	public static final String DEFAULT_EVENT_LISTENER_NAME = "socket_io_event";
	
}	
